package org.stone.project.common.pojo.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 添加接口日志
 */
@Target({ ElementType.METHOD, ElementType.TYPE })
@Retention(RetentionPolicy.RUNTIME)
public @interface LogRequest {
    boolean recordPath() default true;

    boolean recordRequestId() default true;

    boolean recordRequestParam() default true;

    boolean recordRequestResponse() default true;
}
